package role;

import java.util.Date;

public class Record {
	private int ID;
	private int SELLER_ID;
	private int BUYER_ID;
	private int DEAL_TYPE;
	private int PET_ID;
	private double PRICE;
	private Date DEAL_TIME;

	public int getID() {
		return ID;
	}

	public void setID(int iD) {
		ID = iD;
	}

	public int getSELLER_ID() {
		return SELLER_ID;
	}

	public void setSELLER_ID(int sELLER_ID) {
		SELLER_ID = sELLER_ID;
	}

	public int getBUYER_ID() {
		return BUYER_ID;
	}

	public void setBUYER_ID(int bUYER_ID) {
		BUYER_ID = bUYER_ID;
	}

	public int getDEAL_TYPE() {
		return DEAL_TYPE;
	}

	public void setDEAL_TYPE(int dEAL_TYPE) {
		DEAL_TYPE = dEAL_TYPE;
	}

	public int getPET_ID() {
		return PET_ID;
	}

	public void setPET_ID(int pET_ID) {
		PET_ID = pET_ID;
	}

	public double getPRICE() {
		return PRICE;
	}

	public void setPRICE(double pRICE) {
		PRICE = pRICE;
	}

	public Date getDEAL_TIME() {
		return DEAL_TIME;
	}

	public void setDEAL_TIME(Date dEAL_TIME) {
		DEAL_TIME = dEAL_TIME;
	}

	public Record(int iD, int sELLER_ID, int bUYER_ID, int dEAL_TYPE, int pET_ID, double pRICE, Date dEAL_TIME) {
		super();
		ID = iD;
		SELLER_ID = sELLER_ID;
		BUYER_ID = bUYER_ID;
		DEAL_TYPE = dEAL_TYPE;
		PET_ID = pET_ID;
		PRICE = pRICE;
		DEAL_TIME = dEAL_TIME;
	}

	@Override
	public String toString() {
		return "Record [ID=" + ID + ", SELLER_ID=" + SELLER_ID + ", BUYER_ID=" + BUYER_ID + ", DEAL_TYPE=" + DEAL_TYPE
				+ ", PET_ID=" + PET_ID + ", PRICE=" + PRICE + ", DEAL_TIME=" + DEAL_TIME + "]";
	}

}
